<template>
	<view>
		我是子组件
		<text>{{title}}</text>
		<button @click="handleClick">点击</button>
	</view>
</template>

<script>
	export default {
		name:"child",
		props: ['title'],
		data() {
			return {
				
			};
		},
		methods: {
			handleClick() {
				console.log('click点击')
				this.$emit('getValue', '123')
			}
		}
	}
</script>

<style>

</style>